package zlx.springcloudAlibaba.service.impl;

import org.springframework.stereotype.Component;
import zlx.commons.entities.CommonResult;
import zlx.commons.entities.Payment;
import zlx.springcloudAlibaba.service.PaymentService;

@Component
public class PaymentServiceImpl implements PaymentService {
    @Override
    public CommonResult<Payment> paymentSQL(Long id) {
        return new  CommonResult<>(444,"服务降级返回,----PaymentFallbackService",new Payment(id,"error"));
    }
}
